/**
 * 
 */
package com.eshopper.product.repository.solr;

import org.springframework.data.solr.repository.SolrCrudRepository;

import com.eshopper.product.document.ProductDocument;

/**
 * @author Arun Kumar, Nov 20, 2014
 *
 */
public interface ProductDocumentRepository extends CustomProductDocumentRepository, SolrCrudRepository<ProductDocument, String> {

	/*public List<ProductDocument> findByTitleContainsOrDescriptionContains(
			String title, String description, Sort sort);

	@Query(name = "ProductDocument.findByNamedQuery")
	public List<ProductDocument> findByNamedQuery(String searchTerm, Sort sort);

	@Query("title:*?0* OR description:*?0*")
	public List<ProductDocument> findByQueryAnnotation(String searchTerm,
			Sort sort);*/
}
